#pragma once
#include<iostream>
using namespace std;
#include<list>
#include<queue>
namespace Wang
{
	template<class T, class Container = deque<T>>
	class queue
	{
	public:
		void push(const T& val)
		{
			_q.push_back(val);
		}
		void pop()
		{
			_q.pop_front();
		}

		bool empty()
		{
			return _q.empty();
		}
		
		T& front()
		{
			return _q.front();
		}

		T& back()
		{
			return _q.back();
		}
		size_t size()
		{
			return _q.size();
		}
	private:
		Container _q;
	};
}